<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<h1>jsp test</h1>
<c:if test="${param.data <= 10}">
the parameter is less than 10.
</c:if>
<c:forEach var="i" begin="0" end="${param.data}">
${i}
</c:forEach>
<br>
<c:choose>
    <c:when test="${param.data==10}">
    a = 10<br>
    </c:when>
    <c:when test="${param.data==20}">
    a = 20<br>
    </c:when>
    <c:otherwise>
    	same as default statement.
    </c:otherwise>
</c:choose><br>
<c:set var="a" value="20" scope="session"></c:set>
<a href="a.jsp">a.jsp</a>
</body>
</html>